An affidavit of domicile (sometimes called an affidavit of residence) is a document used by executors when they transfer ownership of stock or other securities from the name of the deceased person to its new owner.