While most canned foods will last indefinitely as long as the can is in good condition, canned meats retain their quality from two to five years. Kept in a cool, dark place, spam can be consumed indefinitely. However, spam from cans with signs of damage such as dents and holes is unsafe to eat.