Keeping homemade soup
Homemade soups should last 3-4 days in the refrigerator, which is a good estimate for almost any cooked food.

If you want longer storage, most soups freeze pretty well, unless they contain pasta, which gets very mushy.  On the other hand, it is easy to leave the pasta out of the main batch, and add it later at the time of service.

See, for example:

StillTasty:  Chicken Soup   Vegetable Soup