2019,I was a resident of NY and got a W2 in NY.We got married in June and she moved from OH to NY(she got a W2 from OH).What residence are we file Married filing jointly?

My wife didn't work in NY and she has only one W2 from Ohio. Also, I have one W2 from NY. So, for our NY State return are we full-year residents and Non residents for Ohio? Thank you!!