you can cook the green beans and bacon up to two days ahead; refrigerate them separately until you're ready to assemble the dish.