It's generally advisable to turn off the water supply for any and all plumbing work to prevent water damage and for safety.