Malawian regulations stipulate that prospective parents reside in the country for 18 to 24 months , during which time welfare officials assess their suitability -- a rule that was bent when Madonna was allowed to take David to London before his adoption was finalized .