To say $a=b \mod N$ is exactly, literally, to say that $a-b\in N\cdot \mathbb Z$ (for integers...). It is true that this would normally only be asked in situations where (as the other answers suggest) something is actually happening. Here. $0\cdot \mathbb Z=\{0\}$, so for integers $a,b$ the condition $a=b\mod 0$ literally is that $a-b\in\{0\}$, which is $a-b=0$.
As suggested by the other answers, there's little point to talking this way for a "modulus" $0$, and, more confusingly, the things that usually matter, that usually help understanding or provide alternatives, fail in various regards.
Ok, those failures are irrelevant in real situations, happily. And, if we cautiously revert to the minimal formal characterization in terms of equality in the quotient ring $\mathbb Z/(N\cdot \mathbb Z)$, we find that it's just asking about equality in $\mathbb Z/\{0\}\cong \mathbb Z$, which is the usual equality in $\mathbb Z$.
That is, the corollaries mess up for modulus $0$, but the "fancier/higher-level" notion is perfectly fine... if somewhat boring/pointless.