The rule in every state that by driving you have agreed to a chemical test for alcohol or drugs after a lawful arrest - and the licence suspension that follows a refusal or a failed test, separately from any criminal case.
Every state has an implied-consent law: by driving on its roads, a person is deemed to have consented to a breath, blood or urine test for alcohol or drugs when lawfully arrested on suspicion of impaired driving. A driver can still physically refuse, but a refusal has its own consequence - an administrative licence suspension, imposed by the motor-vehicle agency rather than a court, and in many states usable as evidence at a criminal trial. In most states a test result over the legal limit triggers the same kind of administrative suspension.
The administrative case and the criminal case run on separate tracks. The suspension can take effect, and become final, before the criminal charge is resolved, and a driver acquitted of the criminal charge can still lose their licence administratively. The right to contest the suspension usually depends on requesting a hearing within a short window after the arrest, and that deadline is the one most often missed, because the paperwork handed over at the roadside is easy to mistake for the criminal court date.
Constitutional limits apply. The Supreme Court has held that a warrantless breath test may be required as part of a lawful arrest for impaired driving, but a warrantless blood test may not, and a state cannot make refusing a blood test a crime in itself. States that want blood get a warrant, which in many places is now obtained electronically in minutes.
The reason to call a lawyer the day of the arrest rather than the week after is the administrative hearing deadline, which is short, separate from the court date, and the only chance to keep the licence while the case is pending. The hearing is also the earliest look at the officer's evidence, which is why defence lawyers treat it as more than a formality.
Choose your state. Each link opens the directory page for the city in that state with the most currently published law firms in this practice area; a +n beside the city is how many other cities in the state also have one. The list is generated when this page loads, so a state whose listings have lapsed drops out rather than becoming a dead link.