Indeed, because it kills bacteria, though salt water is more gentle. In the past I've also used pms-benzydamine oral rinse. Looks just like Listerine, only it disinfects and numbs the mouth and throat. Though In recent years I've kept listerine as part of my daily dental care regimen.
Warm salt water is great for inflamed gums too.