They coincide iff the field is infinite. Over any finite field whose elements are $r_1,\dots,r_n$, note that the polynomial $(x-r_1)(x-r_2)\dots(x-r_n)$ vanishes identically but its coefficients are not all $0$ since the leading coefficient is $1$. On the other hand, over any infinite field, if a polynomial of degree $n$ cannot have more than $n$ roots (since each root gives a linear factor) and so a polynomial with infinitely many roots can only be the zero polynomial.