If you are required to file a New York (NY) return all information flows from the federal to the state return. Whether or not you need to file a federal it must be completed to do your state return.
It's not clear if you are a resident or nonresident or part year resident. Below is a link to review the filing requirements for NY.
@stuttgart57