It has to be before or concurrently with Luffy becoming Pirate King. Not a single one of Zoro's fights have ever concluded after Luffy's. Luffy is still the main character with the greater goal, so the lesser goal simply has to be achieved before his.