File jointly but different residency domicile

How can a married couple file jointly but have 2 different state address from each other? I want to claim SD and wife want to claim PA. We have real estate property in both state under my name.