Some aircraft have the ditching qualities of a submarine and may sink within a minute, while others may remain over the surface for hours. Sometimes moments, sometimes weeks. Depends on the the degree of damage from impact. Landing in rough seas would pretty well destroy the aircraft.