Depending on the application, it would be best to remain out of the house for a few hours after spraying, especially if you are concerned.
Pesticides designed for control of household insects are formulated at low concentration levels. The various formulations are intended for particular areas of the home. Dusts and aerosols are intended for application in cracks and crevices. They are effective against pests but without any exposed residue.