You will be considered a California resident if it remains your domicile. Please see Guidelines for Determining Resident Status (FTB Publication 1031).
It is good that you are planning ahead because California is very stringent, and unfortunately especially for people who move out of the U.S. it is very difficult to PROVE you are a nonresident retroactively.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"