When buying a ebike battery they are heavier, larger and certainly more expensive then other lithium batteries used, so your reasoning to max out the life is a good one. Looked after well there is no reason why it shouldn't last 5 years or more though by year 5 some aging will have taken place.
To extend the battery life and for good cell capacity life as I mentioned buy a cheap multimetre to use for checking voltage.
After use only charge battery up several hours before the next planned use as keeping the battery at high SOC (for any period ) will degrade the cells a little, you won't notice the degradation by voltage as the cells will charge to max but you will notice capacity loss by lack of range or on an aging battery voltage sag or power cutting out when a high load is applied.
41.5v - 42v fully charge before use and when not being used try and keep the voltage in the range of 36v - 38.5v, if the voltage is say 35v this is ok for a short time of a few days or a week or so but long term not good.
If you use the bike and voltage is low 32 - 35v, there is no harm in plugging the battery in for 30- 60mins or so to raise the voltage above 36v. You can then cease charging until you carry out the next full charge.
Over winter if not using the battery charge to 38.5v max and check the voltage (as a precaution) once a month to make sure it is good. Lithium does well when not in use stored in a dry cool place above freezing ( not a damp shed ) but a linked lean to or garage to a house or a porch area not prone to freezing.