Foreign tax filer

I lived in NY for one month then moved out of the US. Do I still need to file State taxes ?