You can keep sponge cake covered in icing at room temperature for a day or store it in the fridge for up to 5 days. It might not go bad after 24 hours on the counter but it is prone to drying out.