It isn't a passive voice. It's present perfect, active voice.
The word 'married' is an adjective in this sentence. The construction is the same as:
She has been single for ten years.
She has been ill for ten years.
She has been famous for ten years.
She has been unhappy for ten years.