The frosting has the best texture when made in advance and left to firm up in the refrigerator. So I recommend making it up to a day in advance. You can also bake the loaf a day or two in advance and store at room temperature but I would wait to frost it until just before serving or a few hours before.