A couple of things to keep in mind,
We are dealing with a Virus here, not a Bacteria, lots of the general protection advice out there is about Bacteria. A key difference is that Bacteria can reproduce outside a host, a Virus can't, this means that if conditions are right Bacteria can reproduce on contaminated surfaces, but Viruses can only be spread around, by handling, with gloves or not.
As to how long the virus can last on surfaces, this depends on a number of factors, surface material, conditions such as temperature, etc. The specifics are still rather vague, but around 24-48 hours on paper, cardboard, or plastic seems to likely be in the ballpark, though heavily contaminated areas, such as the cruise ship outbreak cabins reported detection after 17 days, though details are sparse.
When I go out shopping, etc. now I have a ritual for glove use, I put on gloves before leaving the car, and keep awareness of when I touch anything. I try to keep a clean hand and a dirty hand if possible, for example only use my left hand on door knobs. Once I touch something with my left hand I keep that hand in a fist so I don't accidentally transfer from left to right hand. This only works for some places, when needing to deal with 1 or two item, such as dropping off my electric bill payment in an outdoor drop box. For more major shopping I try to go to stores with automatic doors, and use both hands as normal, minimizing handling things. Upon getting back to the car I put the groceries in the trunk of the car, dry goods to one side, refrigerated and frozen to the other. I then remove the gloves and put them in a disposal box in the trunk of the car, before opening any side doors. Inside the drivers side door pocket I have hand sanitizer which I use before entering the car, note I arrange my key fob so I can press the unlock button through my pants, or use my wife's car which has proximity unlock for doors. I then get home, move refrigerated and frozen stuff to the old spare refrigerator in the garage, to await transfer to the main refrigerator after a few days and leave the dry goods in the car until the next day or longer.
p.s. note in case of emergency I may reuse gloves in the trunk of the car after they have sat there for several days, long enough for the virus to die.