Nowadays almost all the accommodations have Wifi internet connection. However, we cannot guarantee that this will always be the case. Depending on the chosen route, some accommodations are located in rural areas where the connection is non-existent or of poor quality. You may not even have mobile data.
Remember that the Camino de Santiago is an incredible experience at all levels. You will find the real connection on the Camino itself, so forget about your phone for a few days and use it only as much as you need to. Talking to others or reading a good book are alternatives that will surely bring you much more.