I would DEFINITELY say go away to a 4-year school. Community college is a decent option for students who CAN'T, for whatever reason (financial, family obligations, not accepted etc) go directly to a four year school, but all things being equal, I think it's best to go to a four year school and stay there.
By going to a 4-year school, she'll get to experience "campus life" in a way she'll miss out on if she does 2 years at a community college (upper classmen don't really live on campus in the same large numbers are freshmen so the scene changes by he time you're a junior). Also, although the content of individual courses may be the same at a university and community college, the student body and teaching staff or necessarily different which changes the class dynamic as well as the style of instruction and resources available (community college cannot compete with major university for library, labs, facilities etc.).
On a personal note, I would add that when I applied to graduate school in the fall of my senior year, my three letters of recommendation (a very heavily weighted piece of a grad school application) the dean of my college (not the whole university just my particular school) whom I first met as a freshman and two professors I had as a sophomore and worked with subsequently. If I had been a community college transfer I would have only known any of my professors for a semester or two before I would have needed them to write letters on my behalf.
Whatever choice she makes will be a fine one, I'm sure. I just wanted to offer my prospective.
Hope this helps,
T.