Get your taxes done using TurboTax

You did not indicate which states you are talking about, but the general rule is that you are taxed where the work is done.

So if you did contract work while you were physically in another state, then you would likely be required to file a return in that state, but this depends on a wide number of conditions and state laws.