The most widely recognized standard is 30 days, meaning if you spent more than 30 days during the year working in a state you would be obligated to file a tax return for that state. Spend less than 30 days on a truly temporary basis and no tax return is due.