Yes, most food that contains cream cheese as an ingredient should be refrigerated within the first two hours of making. This includes cakes, cream cheese cookies, and cream cheese frosting.