Have a Tax Question? Ask a Tax Expert
Thank you for giving me the opportunity to assist you. I will give the best answer that I can with the information provided.
I can assist you with this and give you references. CA does not consider you a resident if you are there for temporary or transitory purpose. However, if you are assigned to CA workplace for a "long or indefinite" period of time, you will be considered a resident. CA does not define "long"---but does have a presumption of residency when an individual remains in CA for greater than 9 months. It is my feeling that a 2 year contract would be considered by CA to be "long" and that for that time they would consider you a resident.
I have some resources for you that show examples (although not your situation exactly)
If you worked from home (WA) for 6 months you would not be considered a CA resident for that period.
If you stayed in CA between 6-9 m onths, that would still be considered temporary.
Please let me know if I can assist you further.