My spouse and I each bought a home in 2021 and live separately. How do we show the 2 homes?

We are not legally separated and are married, filing jointly. Can we have 2 primary residences and show deductions for both? We each have a mortgage and are not co-owners.