White rice that has been stripped from bran can be kept for a very long time on the shelf in sealed containers. Can't say I cooked, served, or ate myself rice older than 1 year, but then again, I have no idea how old was the rice before packaging either. Theortically it can go up to even 20 years if stripped down from bran, cleaned, dried then vacuum sealed in a low temperature enviroment (0° C / 32° F).
Brown rice or wild rice on the other hand has a very short shelf life.