Even if you have arrived in Finland legally, your stay may become illegal if, for example, you remain in the country even though you have not received a residence permit or the validity of your visa or residence permit has expired.