Deductions & credits

Does anybody know if I can claim the house one year and the next year be claimed by my partner? Both of our names are on the loans, but it only shows one of the borrowers social security number on the 1098 form. 

 

Thanks!