Transfer from an out of state university or a California cc

well I’m actually drawn to UC Berkeley ever since junior year but I just wanted to get into any of the UC schools until I’m able to transfer to either UCLA or Berkeley. I’m not exactly an OOS I’ve lived in California before I moved to Arizona and now I want to move back to California. I currently want to major in medicine but I’m still not sure about it. I have also discussed the tuition with my parents and they said they are okay with it. Even after attending a CC it would be two years so I would be considered an in state student so the cost wouldn’t be $60k.