From March 28th 2020 China will close its borders to all foreigners. Even if you hold a residence permit, that means, even if China is your home you can not return for the time being:

Corona Virus Update!
Since the Lowu/Luohu und Huanggang land borders are closed, all ferry services are stopped and only the Shenzhen Bay border is open.

An update on my January 2019 post. About: no-female-Ukraine-passport holders: Unfortunately this rule is still valid and enforced (December 2019). Ukrainian women can not get the 5-Day-Shenzhen-Visa at the border. No border Visa for Ukrainian women!

For Ukraine only men can get the 5-Day-Shenzhen-Visa, women can not!. The charge is RMB 409 (about US$ 60).