Deductions & credits

Ok ... I do not see your problem.  If this was your personal residence (even if you were deployed) and had no other personal residence with a homestead exemption on it they you do qualify for the 2 or 5 year ownership/usage test for the exclusion.  The reason you are selling is immaterial.