If you did not have any income in New York in 2018, you do not have to file a New York state return.
Please read this NY Department of Finance and Taxation for more information:
https://www.tax.ny.gov/pit/file/part_year_residents.htm
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"