You can make an unbaked green bean casserole up to 2 weeks in advance and freeze it or a day or two ahead of time and refrigerate it.