Both work and both get the job done. However, if you are in no rush to bake it, I would argue that letting it rest in the fridge has even more benefits. The flavors have more of a chance to marry and it’s given a longer chance to continue fermenting, giving the crumb a lighter texture in the end.