Safeguard has the shortest egg withdrawal of all of the popular worming meds. And some chicken keepers don't even bother with the egg withdrawal since Safeguard is such a safe medicine. I never have.
You do need to treat the others since chickens poop where they eat, so eventually all ingest...