My cats are indoors/outdoor cats. They can come & go as they please.
I live in a park, back from the main road, for the most part my cats stay in my yard only, unless something spooks them or the like. I respect my neighbors & ask them frequently if my cats are bothering them in any way, they are tested & vaccinated for FIV & LEUK and have the proper flea & HW prevention.
If any of these things were to change I would keep them inside only.
I did try to keep my cats indoors only but they were feral rescues, keeping them inside only is full time chore. lol