Do I need separate earth loops for heating and cooling?

No. The same loop works for both. To switch heating to cooling, or vice versa, the flow of heat is simply reversed. This is done by simply switching the mode on your indoor thermostat.