How long will a new user wait for email when signing up?

I see the “personal email time window seconds” from settings. The default value is 20 seconds, so does it mean that users have to wait 20 seconds after they submit their email address for register?

No, signup emails are triggered immediately. The site setting personal email time window seconds is how long after a user receives a personal message Discourse waits before sending an email notification for the PM.