There are only two situations to retain one's school status, one is to go through the formalities of suspension from school, and the other is during the service as a soldier. In other cases, as long as you leave school, you will be disqualified.
Are you studying abroad or emigrating? If the nationality changes, the problem is not big. If you still have China nationality and plan to return to work, you must find a way to go through the formalities of quitting school. Otherwise, it will be very troublesome to deal with your files and labor manuals in the future. Of course, in theory, the file will stay at school, and you can go to school to reissue it. But if your files and other information can't be queried because of the changes in school personnel exchanges many years later, there will be more trouble.