Tax Year Prior to 2020: Should I file New Jersey tax too?

My job office was in New Jersey and used to live in New York.