I am from California (worked for 1/2019-6/2019) and moved to NYC for school in June 2019. Do I have to file taxes for NYS if I'm a student with no income?

For now, I'm putting down that I was a part-time resident in CA and NY. I don't want to pay the $50 to file my NY taxes if my refund is less than that.