Deductions & credits

My wife and I bought a condo in Massachusetts before we were married and purchased it as joint tenants. We sold the condo for a profit after one year but before the two years capital gains exclusion concluded. My wife and I file "married filing separately" because of student loans.

 

Can I take 100% of the gains for the sale?