You can submit a exercise notice, when the market is open. However, you will not get assigned in the middle of a trading session.
A lot has to be done, when the market is closed, to complete the exercise / assignment process. It is not instantaneous:
Assignment occurs when an option...