I'd call a tax accountant to ask that question.
I would, too. I seem to remember your status for tax purposes is whatever it was on Dec. 31 (my divorce was finalized in late December, we had been separated since the summer, and I filed as single). But my memory is like Swiss cheese and the IRS aren't fun to deal with, so I would check with a pro.