Well, Danila, you are right that this is the present perfect, but your understanding of the meaning is wrong.
In fact, we're using the present perfect to talk about a situation which began in the past and is still true today. Remember that the present perfect is a present tense, so it always tells us something about the situation now - it's telling us that this person can drive. In this question, the speaker is asking how long this has been the case.
Let's look at some more examples. Here are some facts about a person's current situation:
1. He lives in Moscow. 2. He works as an accountant. 3. He is married. 4. He can drive.
If we want to ask how long this has been the case, for each of these facts, we'd use the present perfect:
1. How long have you lived in Moscow? 2. How long have you worked as an accountant?
3. How long have you been married? 4. How long have you been able to drive?
For each of these questions, the man would answer using the present perfect and a time phrase with either since or for. For example, he might answer the first one by saying "I've lived here since 2004".