After you file

It is still not clear to me that any of the Mortgage Interest or MIP I accrued on my reverse mortage is deductible now that I've sold my house. I received a Form 1098 from the lender showing the total amount of interest received from the payer in Box #1 and MIP premiums in Box #5. If any of this is deductible, how many years can I spread this deduction out?