This should help: https://ttlc.intuit.com/questions/1900021-when-would-i-have-to-file-returns-in-more-than-one-state