Filing status for a U.S citizen married to F-1 student

My husband is a US Citizen and I'm on F1-OPT. We were married in June 2021 and started living together since the beginning of 2022. He lives and works in New Jersey whereas I was with my family in Dallas, TX and working there until end of 2021. We are planning to file our taxes this year but since my W2 form shows Texas and his shows New Jersey, what's the best way to file our taxes this year.