This question already has an answer here:
I'm traveling internationally and I'm removing my SIM card. Even if I don't have my phone number connected to my iPhone by the SIM card, will it still be connected to iMessage for people to contact me through? Should I tell them to text my Apple ID email(s)? Or well I still be able to receive the messages if they text my phone number?