almost every top-down shooter tutorial shows you some way.
You could use spawner objects around the screen and choose (randomize) where the next zombie should appear (every x second)
Or you could randomize the XY position (a bit more difficult)
Here is a nice tutorial about an Asteroids clone
here he starts placing spawner objects
https://youtu.be/wJ1h9HPhb4I?t=221