In Pokémon HeartGold (and SoulSilver), the Pokémon storage system works differently than modern games. You manage deposits and withdrawals at the Goldenrod City Poké Mart:
To withdraw, return to the same clerk, select Withdraw, and enter the receipt number. Limits: 50 Pokémon and 99,999 Poké Dollars per transaction. This unique "bank" system replaces the PC boxes of other generations for item/Pokémon storage via the mart.