Yes, for sure.  The baby continues to make pee -- which is what most of amniotic fluid is made up of. However, you've taken what WAS a closed system and opened it up to bacteria, etc.  The chance of infection is highly increased once your water breaks for an extended period of time.