Every power series has a convergence radius R, where Sum[anxn] converges if |x| < R.
The first summation is the power series equal to ez
and we have an = 1/n!
lim |an+1| / |an| = 1 / (n + 1)
= 0. So our convergence radius R is infinity and the power series converges for all z.
The second summation is the power series equal to cos(z) and we know:
cos(z) = (1/2)*(eiz + e-iz)
From the first series, we know the ez is convergent on all z, so cos(z) is also convergent on all z.