Yes, as long as your marriage ended before his/her 18-month TCC eligibility period expired. Your TCC coverage ends 36 months after the date of his/her separation from service, not 36 months after the date your marriage ended.
There was an unexpected error when performing your action.
Your error has been logged and the appropriate people notified. You may close this message and try your command again, perhaps after refreshing the page. If you continue to experience issues, please notify the site administrator.