How long does it take usually to soak up all the gas spill and remove its odor?
It kind of just depends on what you are using to soak up the gasoline. Cat litter works pretty good to soak things like this up out of the carpet. You may need to do a thorough carpet and upholstery cleaning with a degreaser to remove the smell also.
If you have spilled some gas in your car's trunk, it can be difficult to eliminate the odor. This is a page about gas smell in car's trunk.
Gasoline odors can be very noxious, especially inside of a car. Since you can't remove your car's carpet it can be tough to remove spilled gasoline.