You can check CA DMV website. Usually when you're going to live in one state, you are only allowed to use your other state license for a certain period of time, say 3 months.