If the cake is covered in fondant, yes. But just like butter bleed from a warm cookie, butter from a buttercream frosting will leech into your royal icing leaving it discolored. Dried or drying royal icing should not be refrigerated.