Can I expense mortgage interest on a rental property as legal owner but I am not an obligor on the mortgage note?

Mortgage loan pmts come from rental cash flow.  Have been paying for years.  We are refinancing now and makes sense to put in partner's name because of their intention to buy my half in near future.  I don't want to lose the deduction.