State tax filing

Ok thanks for the prompt response.  What if I didn't live in the US at the end of the year?