I figured I would copy and paste this info from the Devs, to give everyone the access to it:
[2. Universe] [Quasar]: the pirates fly around the systems in a sector just like a player does, so when you jump in they may already be there and will run straight for you when they see you
[2. Universe] [Quasar]: the pirates has colonies scattered around the sector, the fleets spawn from them
[2. Universe] [Quasar]: if you destroy the colonies, then the pirates in that area will be gone for awhile, and may make a new colony elsewhere
[2. Universe] [Quasar]: well, there are only so many systems where pirates will spawn, but the pirate fleets patrol in nearby systems as well as the one that their base is in
[2. Universe] [Quasar]: oh, and as a response to a comment that was made earlier, your starcaster connections in public space can't be attacked by anyone, so you don't have to worry about pirates killing them, but pirates will attack sensor platforms and starjacks if they see them
[2. Universe] [Quasar]: no, pirates won't appear in your private space
[2. Universe] [Infinity]: There are no pirates in prosperity.