While applying for a temporary residence permit, it is important to finish that process during your legal stay in Poland. In that case your stay during the administrative proceeding will be considered legal. Please remember that in accordance with the binding regulations, the legality of a foreigner’s stay during the procedure for granting an authorisation of stay is based on the fact of lodging an application for granting a temporary residence permit within the statutory time limit, and not on the fact of having a stamp confirming lodging of the application in your passport. The stamp is a proof that your stay is legal and not the base for legality.