A coconut cake will keep up to 3 days at room temperature when stored properly. However, refrigerating the cake will help it keep up to 7 days. Individual slices can be frozen for up to 2 months.