Stay at home mom opportunity

So my in laws are concerned as well as my husband and I that our daughter gets every sickness that goes around. So my in laws are thinking are sooo generous that they are thinking of paying my salary that I currently make to quit my job so I can take care of the little one. Should I and would you do this if given the choice??