Localization and spectral phase transition in an open advecting-diffusing three-dimensional Stokes flow