Cookie dough will keep in the fridge for 3-5 days, and in the freezer (double-wrapped) for a month or more. Baked sugar cookies will keep in an airtight container for up to a week (though they are at their best within a few days). You can also freeze baked sugar cookies in a heavy-duty ziplock bag for up to a month, letting them thaw at room temperature for a few hours to serve. You can freeze frosted sugar cookies, but I prefer to frost them once thawed.