It can, that's the reason why UHT milk has a relatively short shelf lifespan and degrades despite being devoid of living microorganisms. The enzymes keep doing their work long after the cell membrane is gone.
Compared to other forms forms of liquid milk indeed, but it has a rather short shelf life compared to most sterile food. (Imagine if canned meat or fish had the same shelf life than UHT milkā¦)
Meat and fish subjected to the same processes as UHT milk (i.e., brief explosure to ultra-high temperatures) only lasts a few days, so UHT milk lasts way longer than the comparables.