Deductions & credits

My wife and I will be filing Married separately. We received a 1099S sale of home form with both names with my social security number. Do we use 50% of the home sale proceeds in calculating our capital gains exclusion