No, not unless you intended to establish residency in the new state does merely working there change your residency.
If it is a state with income tax, you will need to pay taxes on your income earned within the state and file a Non-Resident tax return.