IN 2022, Company moved offices from NY to NJ. I live in NJ and that office is where I will spend most time. Do I have to pay NY taxes?

Historically, I filed NY Nonresident tax return and also filed NJ taxes.