Yes it has to be done in one day, but you don't have to land back at your departure point. as long as the leg is over 300NM and you fufill the other criteria. I also did my qualifing leg as part of a longer route over a few days. I departed from one airport, had two intermediate landings and completed the flight by landing and overnighting at a fourth.