Heard it can (probably obviously) greatly affect your ability to leave the country too.
A large portion of Chinese are not allowed to move anywhere outside of their birthplace if they do not fill get a permission from the state first, they control your movement.