Outdoor wifi antenna

Why does it need to be outdoors? In most cases you can put the extender inside on the wall closest to your cameras and that should make for a lot stronger signal for the cameras to pick up.