I moved in 2015 to another state. In 2016 I was paid a bonus, but my company withheld state income tax from the state I used to live in. Should I have to pay?

I was a resident in California and moved to Washington in May of 2015, employed by the same company.  In 2016, I was paid a bonus by my company, but they withheld a partial-year California income tax.  The bonus was paid in 2016, and I was not a resident in California during 2016.  Should I have to pay California Income Tax on that bonus?