You are required (by precepts of the Church) to receive the Eucharist at least during the Easter season, and you are required to be in a state of grace to receive the Eucharist. Confession confers sanctifying grace.
So, technically it doesn’t matter when (although I would seriously note Tom’s post), but the requirement to receive during Easter will likely govern the timing.