According to Maslow’s Hierarchy of Needs, is it necessary that more basic needs be maintained before more advanced needs are attained?

According to Maslow’s Hierarchy of Needs, is it necessary that more basic needs be maintained before more advanced needs are attained? For example, can someone have esteem but not love/belonging? Please provide examples to illustrate your answer.