Which states must i file in? my w-2 has 3 different states that withheld state income taxes, do i need to file in all 3 states worked1 day in NC and 5 days in Ny/NYC

I had minimal state income tax withheld in NC ($25) and NY (around $300) since i worked in these states for 1 day and around 1 week in NY.  Do i need to file tax returns in these states or is there a minimum number of hours/days required.