A long time! Often when we are finished rolling out all the cookies we need, we have a bit of dough left over. If you know of an event coming up that you can get a jump on, go ahead and cut and bake them. After cooling, you can store them in a snap-top container in the freezer. They will typically last for months if your husband and children don't find them first. These baked cookies freeze beautifully and can be immediately frosted when you get them out of the freezer because they thaw so quickly.
This is my grand plan every year at Christmas. I think I am going to get a jump on Christmas cookies and bake up a couple of recipes each night and take them out and frost them when needed. Yeah, it never works out for me because I just can't seem to get that far ahead. But, if you bake up that dough and keep blank cookies in your freezer until they are needed, go right ahead. They will be chilling while waiting for you to frost them and take them somewhere.
If you get some cookies rolled out and cut but you are just too tired to bake them tonight, just freeze the sheets of dough. Remember if you are stacking sheets, you need a piece of parchment on the top and the bottom of each sheet. You can leave them in the freezer for 48 hours before baking them but if you need to leave them longer before baking, store them in a snap top container or they could absorb the "flavors" of your freezer!