Possibly. Holding in urine for extended periods is associated with a slightly increased risk of urinary tract infections. This is because bacteria in urine can multiply in the bladder and needs to be flushed regularly.  People who are prone to UTIs should avoid holding their pee whenever possible.