It depends on your configuration. Here is my experience.
LR-RWD in July/August: 1-3 weeks
Back in July/August, rejections for LR-RWD will have another delivery attempt in 1-3 weeks. It took my friend 4 attempts (he rejected attempt 1 & 2, attempt 3 didn't pass QA at delivery center, attempt 4 accepted) before getting a car that still wasn't perfect but is on the upper end of what Tesla is manufacturing.
LR-AWD w/ White Interior and Sport Wheels: Over a month and counting
I had my first delivery attempt on 9/23 which I rejected due to too many paint defects. Was given a new VIN for home delivery on weekend of 9/28-9/30 which Tesla missed and VIN has since been removed. I'm still waiting...
Speculation
For the greatest number of delivery attempts, pick a configuration that is more common (Aero Wheels, Black Interior, etc).