Preheat the oven to 400 degrees Fahrenheit (204 degrees Celsius) and line a rimmed baking sheet with parchment paper.
Place the squash on a stable cutting board and use a sharp chef's knife to slice off the stem and the base (approximately 1/2 inch from each end).
Stand the squash upright on one of the flat cut ends and carefully slice it in half lengthwise from top to bottom.
Using a large metal spoon, scrape out the seeds and stringy pulp from the center of both halves and discard.
Drizzle the interior flesh of each half with 1/2 tablespoon of olive oil and rub to coat evenly; season with salt and black pepper.
Place the squash halves cut-side down onto the prepared baking sheet to allow steam to escape and promote browning.
Roast in the center of the oven for 40 to 50 minutes, or until the skin is easily pierced with a fork and the interior flesh is tender.
Remove from the oven and allow the squash to rest for 5 to 10 minutes until it is safe to handle.
Use a fork to scrape the flesh in short strokes, pulling it away from the skin to create long, spaghetti-like strands.