Military member from PA stationed in NY

I am in the military and stationed in NY. I entered the military from PA and I have always filed PA state taxes ever since even though I have lived outside of PA during my entire military service. I do have a PA drivers license, but the address is NY on there and vehicle registration is from PA but again the address is NY. I filed my state taxes as a non-resident, but I am confused now as to if I should file as a resident and in that case should I file an amended tax return?