Generally, California doesn’t tax retirement income (like pensions and 401(k) distributions) of non-residents, even if it was earned while working in California. However, other types of deferred compensation may be taxable.