It depends on the toppings and filling. For custard and cream-filled donuts, they should be refrigerated promptly, or they will spoil rapidly at room temperature. Glazed donuts can be kept at room temperature.