To answer the OP's question, I don't think it would be a problem as long as it is normal ochem with lab. As a nontraditional student, I took a number of prerequisite science classes at community college because it was much, much more affordable (in California--like 1/10th the price per unit): general chem I/II with lab, biology I with lab, physics I/II with lab.
I did end up taking ochem I/II at a 4-year school (it was not available with lab at CC near me) and I also took biochemistry at a 4-year school. Be aware that there are abbreviated ochem classes at some CCs (for nursing, allied health) that will not serve you well later in your educational career.
I ended up with 6 interviews, 1 acceptance, 1 WL. I don't think CC classes are as detrimental to your chances as people seem to think.