Driving? It depends.
It depends on the severity of the dementia
Many people with mild dementia can safely drive, but I am assuming that you are asking about a more severe level of dementia. In moderate to severe dementia, one should not drive. Some university centers do provide an evaluation for driving competence in dementia.