Answer:
Yes.
Step-by-step explanation:
When there are compound sentences the comma always goes in front of the conjunction word. Think of it as in pictures shorter people always stand in front of the taller people. In this case the comma is the shorter thing.