That depends greatly on the location and the time of year. In the North, there's only one generation/year and they overwinter in their cocoons. In the South, there are 3-4 generations/year, one of which overwinters as pupae. The others pupate within a few weeks.
Ken Burton for eNature Naturalists