Some GPS modules also include a compass. For the compass to function properly, the compass must not be disturbed by the surrounding magnetic field. That's why it's good to put it further away from the electronics, a little higher above the copter. At the same time, the GPS antenna has better signal reception.