Preheat oven to 400°.Cut spaghetti squash in half lengthwise and scrape out the seeds.
Drizzle olive oil over both halves and sprinkle with a little sea salt and black pepper.
Place the spaghetti squash, cut side up on a rimmed baking sheet.
Roast for 45 minutes to an hour.Once the spaghetti squash has finished roasting and has cooled, use a fork to shred the spaghetti squash and remove it from the shells.
Add the pancetta to the skillet.
Sauté the pancetta until it is crisped.
Remove the pancetta from pan and set aside, but retain the drippings in the pan.To the pan, add the shallot, garlic and thyme.
Sauté for 5 minutes.Deglaze the pan with chicken stock.
Scrape any bits from the bottom of the pan and mix in.Add heavy cream and Parmesan to the pan.
Add the pancetta back to the pan.
Reduce heat to low and simmer for 10 minutes.Stir peas into sauce.