If the person is driving a car, you cannot substitute 'drive back home' with 'ride back home'. In the given context, ride is reserved for bicycles/motorcycles/animals.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.