It is generally considered preferred that you take as many of the science prerequisites at a 4-year school as possible, due to the preceived greater rigor that will prepare you better to take the MCAT. For various reasons, this isn't possible for every applicant, so you do what you can. However, be aware that all med schools do not accept CC coursework. Whatever grades you earn at the CC will "count" regardless of how your 4-year college transfers them, as you'll be obliged to send in an official transcript from every school attended when you apply.
I personally would not hesitate to take any math, English, and behavioral science prerequisite before transferring.