This will depend on the schedule of the notary you choose. You will have to choose the notary to schedule the signing day and to receive advice.
Please note that, by law, once the ESIS (a binding document containing the mortgage conditions) and its annexes have been signed, you will have 10 calendar days, or 14 calendar days in Catalonia, to reflect on and review the mortgage conditions, before signing before a notary.
During the consultation, the notary will issue a certificate of compliance to be signed and this document will state the date from which the contract can be signed. As a minimum, you must complete the reflection period that applies in your case.