Generally, you can't file as
Married Filing Jointly if either spouse was a nonresident alien at any time during the tax year. However, a nonresident alien married to a U.S. citizen or resident can choose to be treated as an U.S. resident and file as
Married Filing Jointly. If you choose to do this, you'll be taxed on both spouses' worldwide incomes, and you'll need to mail your tax return with a statement to support your choice.
See the IRS's
Nonresident Spouse site for more information.