Niantic doesn't tolerate location spoofing. So, upon detecting such activity, they will implement a soft ban on you as the initial strike. However, if you get caught with the same violation, you are likely to experience a permanent ban. So, it is important to pay attention to this factor before using a location spoofer.