Your divorce will need to be finalized as of the last day of the year, that is December 31st, in order for the IRS to recognize your divorce. This is even if you or your spouse didn’t even file for divorce that year.