An unopened can of cranberry sauce can safely sit at room temperature. But, after opening, it should be kept refrigerated, likewise for homemade sauce. For safety reasons, don’t leave it at room temperature longer than 2 hours.