You don't necessarily have to if you're just getting a speeding ticket. But in order to write a speeding ticket, you have to hand over a valid Driver's License so they know who to ticket. Exactly what should they do if the driver refuses to provide their Driver's License?