If you worked in the state of California at any time during the year, that income would have been allocated to California but if you were not a California resident. you would have to file a nonresident California state tax return to report the income. If you never worked in California but the W2 shows California tax was withheld, you would want to file a Nonresident California state return with zero California income to get the withholding refunded.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"