Sugar cookies need to rest on the tray for at least five minutes before you try to transfer them to a baking sheet. Allowing the sugar cookies to rest helps them keep their shape better and keeps them from falling apart.