You can file taxes as "Married filing Separately". Any refund based on your return filed under that status will be directed to you individually. If you file for divorce immediately, and it is not contested, you could possibly be divorced around the time that you would have to file your taxes. Hopefully, this answered your questions. Details and context often affect the validity and usefulness of an answer that is based on a general statement of the law.
Answered on Dec 14th, 2011 at 3:06 PM