How do I file my state taxes? I lived and worked in DE begining of 2016 then moved to PA in march 2016 but still worked in DE.

Unsure if I file part year resident for DE and for PA or nonresident for DE since it was only 3 months I lived there in 2016.