If the beans are freshly roasted, it's often best to leave them two-three days to degas the CO2 from the beans.
This allows me to waste less coffee and less time dialing in shots because each week’s worth will be very close in required grind setting to the previous week’s.
That being said, the best coffee I've had was Ethiopian style, roasted dark and brewed right in front of me with no rest.