Only the income you earned while working in California is considered California Sourced Income. You would file a California non-resident return and report that amount. Your resident state, if they have an income tax, will also tax you on that income, but they will also give you a tax credit for the amount of tax you pay to California, so you won't be double taxed on that income.