Cambridge is generally fine, but it is pretty big and there are places on the edge that are pretty industrial and gritty.  Not dangerous, just not at all attractive.  Many areas are close to subway and buses, but some are not.  If you can post an address here we can help let you know if it's a good choice or not