It depends.
In Social Sciences, if you have no other distractions (work, partner, etc.) I think you could realistically produce a first draft of discussion chapters, evaluation chapter, conclusions and introduction within three to four months. That's if your methods and lit review are finalised and agreed on by advisor and all data is collected.
Following this period, I would anticipate a further two months of corrections until a full thesis could be submitted.
But it's all very hypothetical as it depends on your mental and physical state and, of course, your supervisor and so on.
If your PhD is in science, I am afraid I don't have any clues.