Absolutely! In fact, it is recommended to refrigerate the pie for at least 4 hours, or preferably overnight, to allow it to set properly. Making the pie ahead of time allows the flavors to meld together, resulting in a more delicious and cohesive dessert.