The money was included in your w-2. It is CA sourced income no matter what. California taxes all income you received while a California resident, and the income you received from California sources while you were a nonresident.
Restricted stock and restricted stock units are included in an employee's taxable wages when one of two things happens:
-The restricted stock vests and thus becomes unrestricted. In this case, the fair market value of the stock at the time of vesting (less any cost to purchase the restricted stock) is the amount of income included in the employee's wages.
-The restricted stock is transferred to the employee, and the employee makes an 83(b) election. In this case, the fair market value of the stock at the time the restricted stock is transferred (less any cost to purchase the restricted stock) is included in the employee's wages.
You have to file a part year resident return and a non-resident return for the part of the year you were not a resident. The state you moved to should credit you for the party year non-resident return taxes paid. So you have a part year CA, A non-resident part year CA and a part year resident for the state you moved to if it has income taxes.
**I don't work for TT. Just trying to help. All the best.
***Say "Thanks" by marking as BEST ANSWER and clicking the thumb icon in a post and that I solved your question
**Mark the post that answers your question by clicking on "Mark as Best Answer" I am NOT an expert and you should confirm with a tax expert.