If the rum is unopened, it will retain its quality and flavour. And, when rum is opened, it can be stored for years without going bad, unless you keep it unsealed next to a heat supply.
But even if it’s tightly sealed, we recommend finishing the bottle within 2 years of opening it as the taste and quality of the bottle will slowly start to change.