My question involves real estate located in the State of: MARYLAND

Spouse and I have lived in home owned by my parent. We have not paid rent or mortgage for duration - 25 years. We are now in process of divorcing. My spouse contends she has right to remain in this home. Obviously my parent does not wish to have her remain in house after divorce. Does my parent have right to evict. Does MD law provide any right for my spouse to remain in house?