UC is primarily a commuter college, so most students don't live in a dorm throughout their years here. Living on campus isn't a bad option, especially if you are looking to meet new people and be close to everything UC has to offer. The residence hall staff is generally helpful and accommodating—they'll even help you move your stuff in on your first day. There are also special interest communities that can help students meet people in their college, and it's a good way to make friends and stay in the loop about what is going on at UC. Most students feel safe walking across campus, so you won't have to worry about walking on dark side streets to get home. Campus is well-lit at night, and the halls generally have desk staff to ensure non-students don't come into the dorms. It is also a shorter walk home, which is good for students who are concerned about walking alone at night.
There are some cons to on-campus housing. Some of the nicer dorms tend to be reserved for upperclassmen so you need to be prepared to live in older buildings until you reach upperclassman status. Some dorm residents also complain about being forced to have a meal plan, so they tend to move into off-campus housing after their first year. On-campus housing also tends to be more expensive than apartments off campus.