The pilot released the load of fire retardant on the runway, however the aircraft was unable to stop in the remaining distance and came to rest in a drainage ditch approximately 1200 feet beyond the threshold of the runway, spilling a significant amount of fuel.