You can certainly bake the dough right after you make it, but the softer dough is more likely to spread. Plus chilling the dough gives the flavors a chance to develop, so it is highly encouraged.