If you both lived in the home during the year, it may be better to file jointly you should check with your accountant to see which method of filing is the most advantageous to you. If you do end up filing separately, the spouse who actually paid the mortgage will get the deduction.
A lump sum can be made payable to any person of entity, in any event, a distributive award or buyout is a non-taxable transfer of property.