I have a Minecraft Home Server on which I play with my brother in 1.16.1. When I spawned the server for the second time, I was still in the same place as when I left the server, but I didn't have a single item in the incentive.
That's how it is on servers. As soon as you leave him you lose your inventory