Is Out Of State UCLA worth the cost?

I really want to know how in state tuition works then… Doesn’t living in the state mean… that you get in state tuition?