In my experience as long as you pick up at airport, you get miles and LP even if returning to city location. Pickup at city usually will NOT qualify.
I.E. recently picked up at MIA and returned to Key Largo...got miles/LP. picked up Key Largo return EYW...no miles/LP. It was a lot cheaper to do it this way than MIA -EYW.