The battery will last the longest, if it is kept on a properly voltage regulated float charger.
Something like this uses to be installed in things like quality UPS or so,
but even in expensive lanterns use to be nothing more than just a power resistor and a diode.
That does not prevent from overcharging.
The SLAs use to use the same trick as Nixx to recover the water back from the overcharging, but on SLAs it is way less efficient in that, so the cells are still loosing water.
This makes them hard to manage: Just storing them means they selfdischarge and then the PbSO4 crystalizes (so capacity loss), or when you periodically put it back on the charger, they will be overcharging to some extend, so loose water (again capacity loss)
Some years ago I installed charge management circuit (bulk charging till 7.4 and once full charge detected, switch over to 6.8V; first very simple with two transistors and a TL431, later replaced with
this, fast charging capable one with the same functionality except higher bulk charge current), after that the battery lasted more than 5 years, which is the expected life of the basic SLA I've used there.