If you prefer your cranberry sauce made from the berries (vs. the commercially canned berries or jelly), you can cook it ahead and water bath it in jars weeks in advance. Or, you can make it several days before the holiday, jar it, and stick it in the refrig until Thanksgiving. I've cooked and canned it post-Thanksgiving, when I got cranberries on clearance, and have had it months later.