Cake with whipped cream frosting can sit out at room temperature for about 2 hours before it should be refrigerated. If the temperature is very warm, it's best to refrigerate the cake as soon as possible to prevent the whipped cream from melting or becoming runny.