I assume from your question that you are married and filing a joint return. If that is the case, then the answer to your question is yes, you can claim a deduction for mortgage interest, even if only one spouse is listed on that mortgage note. Filing a joint return in essence means that both spouses are reporting their individual incomes and/or expenses, regardless of which spouse incurred the expense or earned the income.
If this answer has been helpful, kindly press the "Accept" key. Positive feedback is also greatly appreciated. Thanks for the question!