A = One man is a doctor. He lives near you.
B = One man lives near you. He is a doctor.
Both correct but with different meanings.
٢٢ يناير ٢٠٢٤
0
1
0
B is far more natural.
A could be correct if you wanted to emphasize that the person who you were talking about before and is a doctor happened to live near you.