Optimization of the residence time of a Brownian particle in a spherical subdomain.