1. National flags stand for the spirits of each country.
2. National flags stand for the spirit of each country.
=============== Which one is right, spirit or spirits?
Both spirit and spirits are correct because spirit, being singular, means all the citizens of the country as one. Spirits is plural which means spirits of all the citizens of that nation.