Please follow https://www.irs.gov/uac/tax-effects-of-divorce-or-separation.

Please follow https://www.irs.gov/uac/tax-effects-of-divorce-or-separation.