Out of state wages

I made a small amount of money from a company located in NY but I did not reside there. Do I have to file taxes with NY as well as my state of residence?