Yocheved and Miriam’s names are not mentioned because of their selflessness. But they were called by their surnames: שִּׁ פְּרָה וּפוּעָה Shifra and Puah because: שִּׁ פְּרָה Shifra means: מְּ שַׁ פֶ רֶ ת אֶ ת הַ וְּ לַ ד adorning the babies, and: פוּעָה Puah means she pacified the babies. (Rashi).
We can suggest that the Torah Davka wants us to know their surnames. They could have remained anonymous: מְּיַלְּדוֹת midwives, but the Torah wants us to know that their whole essence was the type of Chesed they did, since a name symbolizes the total being of a person. Again, their selflessness makes their true names Battel to the great goodness that they did for Klal Yisroel.
We see how the Torah respects these two women, when the Passuk says: וַיֵיטֶב אֱלֹקִּ ים לַמְּיַלְּדֹּת וַיִּרֶב הָעָם וַיַעַצְּמוּ מְּאֹּד א כ Hashem repaid the midwives, by making the Jewish nation super big and strong, as if the whole success of our giant growth is a payment to our devoted: מְּיַלְּדוֹת midwives. These are the mothers of Kehuna and Malchus, the true leaders of Klal Yisroel. Our existence is a personal favor that Hashem gave Yocheved and Miriam.
Look how great a person can become if he throws himself into helping others. He can be like a true father and mother, like Basya bas Paroh who was Zoche to raise Moshe (Gemara), and there is a special Gan Eden for her. (Chazal).
STORY
A woman was about to give birth, but the baby was upside down (breech). She asked her husband if he left any Seforim upside down. He noticed that his Bitachon Weekly, which he had taken to the hospital, was upside down. He turned it right side up, and the baby turned over to normal. She had a normal, easy, delivery with Hashem’s help, Mazal Tov!