If a Codespace is inactive, or if you exit your Codespace without explicitly stopping, the application times out after a period of inactivity and stops running. The default timeout is after 30 minutes of inactivity. You can't customize the duration of the timeout period for new Codespaces. When a Codespace times out, your data is kept from the last time your changes were saved.
and
Close or stop a Codespace
If you exit the Codespace without running the stop command (for example, by closing the browser tab) or leave the Codespace running without interaction, the Codespace and its running processes continue during the inactivity timeout period. The default inactivity timeout period is 30 minutes. You can define your personal timeout setting for Codespaces you create, but this may be overruled by an organization's timeout policy.
So within the same page of the module it both says that you cannot and can set the duration of the timeout period for Codespaces.
Which of the MS Learn modules from the dropdown are you submitting an update request?
None
Additional information
Information about the requested update
Within Code with GitHub Codespaces - The Codespace lifecycle (not available in the dropdown) it states both:
and
So within the same page of the module it both says that you cannot and can set the duration of the timeout period for Codespaces.