The general requirement is for a second year of biology with lab. So a community college second year course in genetics, micro, etc, can fulfill that. Students do apply and successfully get in with CC prereqs. Three things to consider/check via each med school website or the MSAR (everybody has a copy of the MSAR, I hope)
1) The school accepts CC for fulfillment. Some schools flatly state that they do not accept CC credits. Some state a preference/strong advise against it.
2) the school specifically states upper level biology as opposed to simply a second year of biology.
3) CC vs 4 year debate and competitiveness of candidates. I am NOT going into that here. As I say to most students if the logistics of life make CC your best option, then do well in it. If you can get an additional advanced course or two at a 4 year school to supplement, it is helpful.