Ok, there are a few places to live and a few places not to live
FYI, I live in Concord and drive about 25 minutes to get to school. Concord is ok, I would do Walnut Creek, Lafeyette or Orinda or Moraga, if you have a low tolerance to crime.
Once you get past the tunnel on highway 24, you are looking at an Urban environment, were you need to be more discriminating on where you live. There are decent places in Emeryville and Berkeley, and even a few very select places in Oakland. If you live up on the Oakland or Berkeley hills, It will be nice, but more pricey. If you live close to the school, make sure you don't venture too far west of the school unless you like getting shot. Stay east or directly south of campus if you choose to live nearby. BTW, everywhere near school charges for parking, so you have to budget that in. Don't live in Richmond.
If you love stop and go traffic, you could move to SF, however there is never easy parking, rent is 1.5- 2 times higher and literally EVERYTHING costs at least 25 percent more to buy. But some people think it's great and love living on top of each other.
Shoot me a PM if you want more info,
DJ