If you are considered married you and your spouse can file a joint return or separate returns.
You are considered married for the whole year if on the last day of your tax year you and your spouse meet any one of the following tests.
For more information see IRS Publication 17 Your Federal Income Tax (For Individuals).