We consider a model of hydrogen-like artificial molecule formed by two vertically coupled quantum dots in the shape of axially symmetrical thin layers with on-axis single donor impurity in each of them and with the magnetic field directed along the symmetry axis. We present numerical results for energies of some low-lying levels as functions of the magnetic field applied along the symmetry axis for different quantum dot heights, radii, and separations between them. The evolution of the Aharonov-Bohm oscillations of the energy levels with the increase of the separation between dots is analyzed.