it's a good idea to have a spare bolt.
ALMOST all bolts will work with all barrels, so it's trivially easy to get a pair of bolts that work with the same barrel. It's a good idea to check though, periodically.
the advantage of getting a matched set is added accuracy of having the bolt face trued up to the receiver extension/barrel. details, details