Analytic continuation in the coupling constant is studied in order to calculate resonance energies and widths for model potential, consisting of two Dirac delta-functions, which allows for an analytic solution of the scattering problem.