From this I mean if I encounter entei and accidentally K/O does it re-spawn automatically in the game even if I K/O it 1000 times
If you beat the Elite Four every time, then yes.
So if you KO Entei, he will disappear. Go beat the Elite 4 and he will roam again. You can continue this cycle forever.