No, you should refrigerate the frosted bars after 2-3 hours as cream cheese is a dairy product that could spoil. One benefit of using cream cheese frosting (besides the delicious taste) is that it freezes quite well.