No, you cannot. Pokémon Ranch for the Wii strictly prohibits the deposit of Legendary and Mythical Pokémon. The software only accepts standard, non-Legendary species transferred from compatible main-series games (Diamond, Pearl, Platinum, HeartGold, SoulSilver).
If you try to move a Legendary Pokémon, the game will block the transfer. Pokémon Ranch is designed as a storage and breeding tool for common Pokémon, not a showcase for rare Legendaries. Keep your Legendaries in your main game boxes or Pokémon Bank/Pokémon Home for safekeeping.