How can we handle long-distance marriage? (Husband in Ohio and wife in Massachusetts.)

Hello! We have currently a long-distance marriage. My husband works in Ohio and I work in Massachusetts. Is there a way that we can handle federal tax jointly but state taxes separately? Thanks!