There’s no requirement that the Speaker of the House must be an elected representative. I suppose they can look for an outsider if all else fails.
I wish to state the following for the record: If nominated, I will not run, and if elected, I will not server. I have more productive things to do.