Harmful bacteria can grow in food left out at room temperature, which can then lead to a foodborne illness. We recommend throwing away any puree left out for longer than two hours and any refrigerated puree after three days.
If you’ve made a large batch of spinach puree, you can freeze unused portions in an ice cube tray. Then, place the frozen cubes in a freezer bag.