First of all, the larva doesn't spend very much time in the cocoon. Shortly (around a few hours to a day) after the larva spins the cocoon it molts into the pupal stage. the pupa can remain in the cocoon for any amount of time as it depends on the time of year.
An inchworm will stay in their cocoon for about 2 weeks. They tend to stay in an extra week most of the time.
it can stay like a larva for 12-13 days the become rollie pollies.
about ten days
they curl up in there
The Cinnabar Moth will stay in their cocoon for a period of nine months. They cocoon themselves in the early summer and do not emerge from the cocoon until the next spring.
Black Swallowtail butterflies stay in their cocoon for 9 to 11 days.
about ten days
Beavers stay in 8 days because of it larva
1 week
a month or a little bit more
About 4 or 5 days
Probably about ten days.