What are your stats? What qualifies as "relatively good?" I made the explicit decision to apply only to in-state public schools for undergrad to save on costs, which, in hindsight, was a mistake, albeit one that worked out well in the end. Higher tuition for private/out-of-state schools can be outweighed by the increased scholarships and need-based aid they may offer. I'd apply broadly and see what comes of it.
For your question, there's no one-size-fits-all answer; most people would probably say it doesn't matter, and that all you need to do is keep your GPA up and do well on the PCAT. Mostly true, especially since pharmacy schools don't really differentiate too much on the strength of your undergraduate education - moreso the actual numbers. However, I liken college to an idea incubator in which beliefs are exchanged, concepts are born, and worldviews are shaped. A better cohort gives you a better probability of meeting individuals/peers who will help further your self-development. Secondarily, campus recruitment matters for internships and school resources might be important for strength of research. Lastly, you don't really know who the person you'll mature to become in 4 years. Maybe you'll decide med school instead, or something else entirely. You might end up selling yourself short by choosing a less rigorous institution. I don't know enough about your situation to draw any conclusions one way or another.
The 2 yr community college + 2 yr university education is a decent idea for saving money too. It's not unheard of for people to take 2 years at CC and then transfer to top 50 undergrads. You'll miss out on the 'freshman experience' though, if that matters to you at all. You can also consider trying for 2 years of undergrad to complete all pre-reqs then transfer straight into pharmacy school without a BA, saving yourself a couple years.