With Tantric sex: 2 hours (and maintaining an erection throughout!) - but that takes concentration and dedication and experience.
The shortest: 3 minutes (not recommended).
I can give you a definite answer to your question if you can answer my question: how long is a piece of string?