Ideally, you should make this frosting when you are ready to use it. It will remain safe to eat in the fridge for a couple of days, but it will quickly lose volume and texture because the air will start to come back out of it. If possible, make the frosting only once the cake is ready.