As RWF and Ryb said, it would depend on requirements set forth by the regulatory body (i.e. city, county, etc.)
Examples where you may not have to detain include: if you were tying into a downstream storm drain system and you could prove that it had the capacity to handle your increased runoff, you may not have to detain. Or if you were outfalling into a channel and could prove that you weren't adversely impacting downstream property owners (or get consent from d/s owners), it may be allowed (doubtful, though).