This article might have further canon details available on.
A soul is the essential metaphysical life energy of a living creature created by primordial deities to filter the multiverse's fundamental life energy. Innately unaligned, each soul is created in the Positive Energy Plane and (with few exceptions) traverses the River of Souls from its creation to a mortal vessel, then returns to the river after their vessel's death to reach the Outer Sphere.
A soul can be detached from a mortal vessel by bombarding it with energy, removing it from the body, digitizing it, and uploading it into a data module linked to a computer. This type of device is known as a soul upload trap, a hybrid of magic and technology.
The implications of this device suggest that a soul can be stored and managed as encoded data in standard computer modules.