residence times

“It results into bottlenecks for water distribution creating head losses, and long residence times which can cause water quality issues.”
Please tell me what residence times is here.
Thank you.

I believe it is the time the water spends in a storage tank.