See first of all you will have to understand what is Maya n what is not... In case of human being
Leaving ones soul everything is Maya when a soul is born in this world by taking birth in a soul carrying device which is ones body or sharir . So any one born on this earth have to leave or die at one time but the body or sharir die and not the soul cause soul or atma is Amar ...
But the body which is made up of 5 elements that is jal(water), Agni(fire), vayu(air), bhoomi(earth), and Akash (space ) have to die one day cause it is not Amar and have to go back in its elemental form after it ceases it's functions ...
So soul takes a rebirth in a new body n have a new different life in that body.
So anything leaving soul which the new body have after birth is all Maya...
N the Maya is all that thing which makes one's soul attached to it in form of love or lust or care or any kind of bondage through the means of its body..
So yaa ofcourse one's parents too are a kind of Maya ..
It's all Maya leaving self soul ..
That's why Shri Krishna had considered each n every attachment to the worldly thing as a Maya . N so he was never attached to any kind of emotional bondage to any thing in his life . Neither parents nor wife . N hence only ,he could follow his aim-mission to clean whole samaj or society of devil n evil.
If he had emotionally attached to any Maya or attracted to any Maya then he would not be able to perform his duties his aim of taking birth of cleaning society of evils..
But for a common man in this world this is not possible as a common man is not with that self controlled emotional power... And also there is not such any restrictions of detaching from all Maya for a human .
Cause a common man can't do that n this is d difference between God n great sages n saints and tapasvis from a common man .
So for a common man , one can only do one thing that is not getting attached too much to any thing either wife or sexual lust or , ones family or children or any materialistic thing or ones God like parents ...
Instead one must do or carry n fulfill his/her duties to the respected person that is study as a child for his parents ,care n wellbeing of his /her parents in his/her adulthood ,love n loyalty to his family n his duties for a good family life n then care n upliftment of his children ,etc
So one must do All the different duties in ones life according to time . N not get attached too much to any one ...
Cause if that thing will leave you then you will get in world of sadness , sorrow n difficulties in living a life n carrying your duty towards your life..
N this is what is Maya .. which when gets apart from you , gives a difficulty in case of materialistic things of joyor pleasure or any kind of ease in Ur life; gives you sadness sorrow hardship in living life in case of loved ones , parents etc..
So be less attached as less as possible n live a life of carrying out Ur duties toward Ur life n your birth ...
N the one who r completely gets detached in life with all this things are the ones who we preach i.e. sages , saadhus, acharya's , etc .
So by living a normal common life too ucan be detached from the worldly Maya without necessarily following the path of these tapasvis, saadhus..