Ambien is a controlled substance, specifically a schedule IV according to the DEA, so pharmacies have stricter federal laws when dispensing these controlled substances. The pharmacy doesn’t ‘have to’ fill anything. It is under the discretion of the pharmacist if it could potentially harm a patient. Controlled substances are put under stricter controls for their potential for abuse. So early refill requests can present red flags.