That's based on the "Position Exit Offset" and "Rotation Exit Offset" values on the item's FirstPersonPerspectiveItem component, under "Position/Rotation Spring". Those values define the position and rotation of the object when it's unequipped/inactive.