Yes.  Homemade sauces should be stored in the refrigerator at all times.  Store bought should be stored in the fridge after opening the bottle.  It stays safe if stored at room temperature for only a short period of time (1-2 hours maximum).