The above two charts have something in common. Both charts have the direct resource stars in the earthly branches of the year pillars and both the direct resource stars are in Death & Emptiness (DE). Direct resource stars also represent homes and since they were in DE, the owners can be said to be "homeless" in their past lives. Whether they were "homeless" for a good reason or not depends on the overall chart which I think it's a little too deep to be discussed here. Some could have been "homeless" because of their spiritual quests and stayed in temples, churches or monasteries while the less fortunate ones could have landed themselves in the old folks homes.
Most bazi softwares will show you the DE stars but for those who are interested, I will give you the formula for finding the DE stars. The DE stars are derived from the day pillar. As you know, there are altogether ten stems and twelve branches. So, if we match each branch with a stem, there will be two animals branches without stems. These two animals are the DE stars.
The stems that do not exist are the 11th and the 12th stems.
Look at the 1st chart with the xin-chou day pillar. Xin is the 8th stem. We have to add 3 and 4 to reach the 11th and 12th stems. Chou is the 2nd animal. When we add 3 and 4, we will arrive at the 5th and 6th animals. So, chen and si are the DE stars for the xin-chou day pillar. Please read again if you don't quite get it.
Now, take a look at the 2nd chart with the ding-wei day pillar. Ding is the 4th stem. We have to add 7 and 8 to reach the 11th and 12th stems. Wei is the 8th animal. When we add 7 and 8, we will arrive at the 15th and 16th animals. Since there are only 12 animals, the 15th and 16th animals are equivalent to 3rd and 4th animals. So, yin and mao are the DE stars for the ding-wei day pillar. Get it?
Since the DE stars are derived from the day pillar, you will never find a DE star in the day branch. As far as bazi theory is concern, many masters believe that the strength of the DE stars will be halved whether they are positive or negative. Well, some masters do not see it that way since there is a bias towards the day branch.