Well yeah. We don’t want drunk people taking care of kids either. That’s pretty standard.
As in, you wouldn't fire someone for showing up sober on Monday morning because they had a glass of wine on Saturday evening.
The hard drugs that tend to have more destructive effects don't even show up on a urine drug test for much longer than 72 hours. So, while the person who only smokes weed after work in the evening is at risk of being caught by a drug test, the person who gets off on Friday, goes on a cocaine binge, and then tests clean on Tuesday or Wednesday has nothing to worry about. Which would you rather have in your employ? I'd choose the pothead over the cokehead without hesitation.