This will depend on how urgently you need a transplant. A lack of available organs will determine the length of wait time which largely depends on factors such as blood type, ethnicity and clinical need.
The length of recovery really depends on each individual person so its really difficult to advise on length of stay.