I've heard about US PhD students going on for seven years, ten years, fourteen years, and so on.
In the UK I had to submit before four years. If I didn't do that I literally just failed the degree.
I worked twenty-hour days for about a month at the end and then submitted with one day to go. Not even exaggerating.