How realistic is it to get in state tuition after 1 or 2 years?

I’m coming from California and I only got $5,000 in loans from the government and a little bit here and there for other things but overall the cost is still prohibitively expensive for loans if I go all 4 years like that. I wondered if I was able to live on my own for a year or two (I don’t think I can qualify as a resident while living in the dorms) how likely would I be able to get in-state rates?