If you keep the oil off they last indefinitely.
I had a saturn I got with a cracked head; I fixed it on the cheap including, initially, old hoses. I ran plain water plus cascade to flush the cooling system.
Even though I cleaned the outside of the hoses with simple green and paper towels, the hoses "sweated" oil from somewhere in the middle of the foam rubber.
It was gross, and I kept getting an oil slick at the top of my coolant surge tank despite daily cooling system drain & fills.
Wound up replacing the hoses and the oil slicks stopped.
Get oil in (or presumably on) them and they'll never be right, afterward. If you grab a degrading hose with your hand, it can leave a black mark on your skin as it sheds a layer.