A W-4 is the form you fill out for your employer to indicate how much federal tax to withhold. Washington does not have a state income tax. You will owe CA income tax for the part of the year when you lived/worked in CA.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**