When Sims are inside on a Residential Lot they will take of their Shoes (Unfortunaly also slippers). Be aware Foundations count as inside no matter if they are a Patio etc.