After it has cooled all the way, put it inside of a container that has a tight-fitting lid. It will last 2-3 days in the fridge. If you can't eat it within 2-3 days, it's best to freeze it. Wrap the slab pie tightly with aluminum foil or plastic wrap. Then put it inside another airtight container. It will last up to two months in the freezer.