My wife and I have been advised to submit a joint federal return and a separate state return because my wife works in RI and lives in MA w/ me. Do ALL states allow this?

TurboTax has advised me to do this, and they even have a FAQ about it (https://ttlc.intuit.com/questions/1901214-how-do-i-prepare-a-joint-federal-return-and-separate-state...), and there is no note that says to make sure that the states you're filing in will allow this. It makes me think it's a general rule that a couple can file a joint federal return and separate state returns. I want to finish my taxes but want to double check that RI and MA will allow me to submit a separate state return even though we filed a federal joint return! Thanks 🙂