If you are planning this dessert ahead, you can bake them in advance. Cooked pastry cups will keep for up to a week stored in an airtight container, but as you’d expect they’re better served right away.