That depends partially on your body fat percentage. Since THC stores itself in fat, if you don't have much fat in your body, then it doesn't stay in your system as long.
There are other things you can do to give a false negative (like drinking tons of water, or I think there might be some method involving cranberry juice?) but modern drug tests can detect over-hydration and gimmicks like that.
In any case, do NOT celebrate your drug test by going out to smoke. My dad used to give drug tests when he director of occupational medicine at a hospital, and there was one time where the lab messed up one of the guy's samples, and he had to come in for a re-test and failed spectacularly.
Also, depending on your state, there are laws that allow random drug tests at any time during employment, or mandatory drug tests if your supervisor suspects you of using.