I was under the impression that on average the brain/body needs around 9 days of no caffeine consumption to get back to its natural baseline. I can't seem to find the source of that study right now...
Effect duration for a psychoactive is related to half-life, but they aren't identical, and 'reset time' varies widely, e.g. MDMA is over in about 4 hours but it takes at minimum of two weeks before one can get a comparable effect again.