$-1 \equiv 4 \pmod 5$, so in $\Bbb{Z}_5$, $-1$ is the same element as $4$. Don't think of $\Bbb{Z}_5$ as just $\{0, 1, 2, 3, 4\}$, think of it as this:
$$\{\{..., -5, 0, 5, ...\}, \{..., -4, 1, 6, ...\}, \{..., -3, 2, 7, ...\}, \{..., -2, 3, 8, ...\}, \{..., -1, 4, 9, ...\}\}$$
As you can see, this is a partition of the integers where each integer is in a partition based off the equivalence relation $a \sim b \iff a \equiv b \pmod 5$. This means that $-1$ is the same as $4, 9, 14$, etc. All of these elements can be used interchangeably in $\Bbb{Z}_5$ because they are equal in such a field. Knowing this can be useful because it shows us stuff like this:
$$2-3 \equiv -1 \equiv 4 \pmod 5$$
If we didn't know $-1$ and $4$ were the same, we would be stuck at $-1$ and not know how to represent it as a natural number.
Now, about the polynomial: Clearly, both $-1$ and $2$ are zeroes for $f(x)$ in $\Bbb{Z}_5$:
$$f(-1) \equiv (-1)^3+2(-1)+3 \equiv 0 \pmod 5$$
$$f(2) \equiv 2^3+2(2)+3 \equiv 15 \equiv 0 \pmod 5$$
However, notice the difference between the zeroes: For $f(-1)$, we did not need to really use the fact that we were in $\Bbb{Z}_5$. It always equals $0$ no matter what field we're in because that's how arithmetic works. However, for $f(2)$, we needed to use the fact that $15 \equiv 0 \pmod 5$, so if we were working in another field like $\Bbb{Z}_7$, $2$ would not be a zero of $f(x)$.
Therefore, I think your source was trying to point out that $-1$ is a zero for $f(x)$ in all fields, not just $\Bbb{Z}_5$. This means that $4$ is a zero for $f(x)$ in $\Bbb{Z}_5$ because $-1 \equiv 4 \pmod 5$ and $6$ is a zero for $f(x)$ in $\Bbb{Z}_7$ because $-1 \equiv 6 \pmod 7$.