I am going to stand by what I've said - that
sufficiently strong convection disrupts stratification - but admit an exception for a slow rate of heating that is incapable of making a strong overturning circulation. That would be unusual for most tank type hot water systems.
My thinking is based on observation of heating elements in open containers, pots of water on stoves, a basic understanding of convection... and reason.
A heating element (or coil or sleeve) will make an overturning circulation strong enough to break down any stratification and will mix the contents. This won't be true of a heating element near the top - but in practice almost all heating is done either near the bottom, sometimes midway and bottom, or up the sides or around a central fire tube (gas fired) and in ways that make an overturning circulation.
This is an advantage and desirable rather than a problem; the whole tank gets heated - maximising the amount of hot water it holds - and the result is it gets heated uniformly (or very close to it). Convection (strong enough) disrupts stratification. Stratification comes after the active heating and accompanying overturning circulation ceases and is (therefore)
not produced by water rising from the heat source.
Call it surmise if people here insist but my reasoning says that subsequent stratification will be primarily from cold water downflows from imperfect insulation pooling in the bottom and - in a not-static situation - cold water inflows.
Stratification - or at least differentiation; a true thermocline will take time sitting still to develop - will happen in a "static" situation but I still
surmise it will be due to cooling - around the fittings and tank body - from cooler water sinking and pooling, with little mixing. That will lack the flow rates necessary to make the full overturning convection loop that results in mixing. There is still convection but the upward flow will be in the form of the top of the pooled cool water rising as a layer. (Sort of - can nitpick about thermoclines and whether it is a layer).
I don't expect water of uniform temperature with perfect insulation to stratify - but am not so sure of that to claim it cannot. But I do expect (by reason) that heat conduction within still water will tend to maintain temperature homogeneity.
That differentiation/stratification in a hot water tank is useful, allowing influx of cold water in the lower part of the tank without mixing with and cooling the hotter water nearer the top and that gives longer times between heating cycles. (Ours is set up to run daytime only, to take advantage of rooftop solar).
@russ_watters re the air space - it is definitely there in our water heater tank - the outlet and relief valve are on the side, a few cm below the top - but thinking about it some more I don't know that it will
persist over time rather than be displaced with water. I could be wrong that it does persist - which wouldn't be the first time I've got something wrong.
My thinking was it would moderate water hammer type stresses to the tank. I am not sure any of the materials used are especially subject to corrosion - but it does have a sacrificial anode. Ours is a one piece Chromagen heat pump model.