Can I stay in the house while it’s being shown to a prospective buyer?

Unless it is absolutely necessary I would NOT stay in the home. It is distracting to the buyers looking, and can be uncomfortable when they want to open a door or closet to look inside. Take a walk or go to lunch. Whatever is appropriate.