There already is precedence for part of a state to secede. Virginia is not what it was before 1861...
The entire state of California would have to secede first. Then parts of it that want to from independent territories would have to petition the US congress for admission. I doubt Sacramento would allow sections to break off. In any event a long process.