Yes. However, it's not recommendable to do so since it may contain impurities that will compromise the integrity of your joint. If the application in question isn't sensitive, old solder can be reused.