If you come to California specifically for educational purposes, you will be considered OOS for the time you remain in California unless you can show proof of financial independence from your parents.
Residency requirements | Understanding residency for purposes of UC tuition