Even this is not entirely correct. They do not consider you a CA resident, but they consider the income you make while (more than transiently) in the state taxable.
Many states have similar clauses (NY, NJ, etc.), CA is not unique in this aspect.
Many states have similar clauses (NY, NJ, etc.), CA is not unique in this aspect.