Items despawn after 5 mins in a loaded chunk, if the chunk is unloaded it should stay on the ground until it is reloaded again. On multiplayer a radius of 10 chunks are loaded around each player, so if someone is 9 chunks east from dropped items they will still despawn.