State tax filing

So here's the full timeline:

I was a student from Jan - April 2016 and also worked part time at a call center (both in PA)

After graduation I moved to NYC and started working full time (at a financial firm not the call center place in PA) starting in June 2016 and worked there until March of this year. However when living in NYC I lived and paid rent in an apartment but was never on the lease. I paid money to a guy whose brother's name was on the lease. But I still got my mail sent to that NYC address while I was there.

Now I am back in PA and my old PA address is once again my address.