You can bake the pie up to a day in advance and keep it at room temperature, up to three days in advance and keep it in the refrigerator, or up to three months in advance and keep it in the freezer.