Yes, you can use kitty litter to clean up the hard surface or carpet detergent spills. Cover the spill with a layer of kitty litter and wait until the soap is absorbed.