Is it required to live in dorms freshman year?

In California, do you have to live in a dorm freshman year? For example, if I live near UCLA, can i commute from home or do I have to live in their campus dorms?

What does the UCLA website say about that?

i can’t find anything relating to requirements for freshman regarding dorms

I believe none of the UC’s have a on-campus living requirement for Freshman students. The Cal States however have a on-campus living requirement for students outside the local service area.
However, studies have shown the Freshman students living on-campus are more successful academically.